package com.wmyg.antifake.dao;

import com.wmyg.antifake.bean.Brand;
import com.wmyg.antifake.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *
 * @author yangy
 * @since 2018/9/28 上午
 */
@Mapper
@Repository
public interface BrandMapper {

    Brand view(@Param("brandId") Integer brandId);

    int insert(Brand brand);

    int update(Brand brand);

    List<Brand> findAll();

}
